Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config refactor avoiding circular dep issues #485

Closed
wants to merge 8 commits into from
Closed

Conversation

gmbronco
Copy link
Contributor

No description provided.

Copy link
Contributor

@danielmkm danielmkm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of small syntax changes if you don't mind, otherwise looks good! Thanks for the work here.

modules/network/arbitrum/index.ts Outdated Show resolved Hide resolved
modules/network/arbitrum/index.ts Outdated Show resolved Hide resolved
For every 1 days jobs we set the alarmEvaluationPeriod and alarmDatapointsToAlarm to 1 instead of the default 3.
This is needed because the maximum alarm evaluation period is 1 day (period * evaluationPeriod).
*/
export const arbitrumWorkerJobs = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also type

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding the type

import { JsonRpcProvider } from '@ethersproject/providers';
import { mainnetNetworkData as data } from './data';
import { mainnetWorkerJobs as workerJobs } from './workers';

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing export

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually it's not needed. i'm removing from other networks as well.

@gmbronco
Copy link
Contributor Author

gmbronco commented Nov 7, 2023

hey @danielmkm - i think all the changes are there, let me know if you want to get anything else updated.

@gmbronco
Copy link
Contributor Author

gmbronco commented Nov 7, 2023

I'll close this PR for now, since it's not solving the underlying issue fully. The issue is related to the networkContext and we will be refactoring that for specific cases.

@gmbronco gmbronco closed this Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants